package com.mdc;

import org.springframework.data.jpa.repository.JpaRepository;
//import org.springframework.data.repository.Repository;

import java.util.List;

public interface PersonRepository extends JpaRepository<Person, Integer> {
    List<Person> findByAddress(String address);

    Person findByNameAndAddress(String name, String address);
}
